var render = function (h) {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;

  const renderImgBanner = () => {
    const casinoList = _vm.casinoList
    const [item] = casinoList
    return <div class="lts_banner">
      <div onClick={() => {
        if (!item) {
          console.log('未返回数据', casinoList)
          return
        }
        _vm.showGameFun(
          item.game_flag,
          item.game_name,
          item.game_plat_id
        );
      }}>
        <img alt="" src="https://cdn01.cloudthedust.com/platform/c169/images/cplts.gif"/>
      </div>
    </div>
  }

  return _c(
    "div",
    { staticClass: "isHeader isNav home" },
    [
      _c(
        "div",
        { staticClass: "headerWrap" },
        [
          _c(
            "x-header",
            {
              staticClass: "header home-header",
              attrs: { "left-options": { showBack: false } },
            },
            [
              _vm.platformConfig
                ? _vm._e() // _c("span", [_vm._v(_vm._s(_vm.platformConfig.platform_name))])
                : _vm._e(),
              _vm._v(" "),
              _vm.userInfo && !_vm.userInfo.username
                ? _c(
                    "span",
                    {
                      staticClass: "home-head",
                      attrs: { slot: "right" },
                      slot: "right",
                    },
                    [
                      _c("router-link", { attrs: { to: "/login" } }, [
                        _vm._v("登录"),
                      ]),
                      _c("em", [_vm._v("/")]),
                      _c("router-link", { attrs: { to: "/reg" } }, [
                        _vm._v("注册"),
                      ]),
                    ],
                    1
                  )
                : _vm._e(),
              _vm._v(" "),
              _vm.userInfo && _vm.userInfo.username
                ? _c(
                    "span",
                    {
                      staticClass: "home-head",
                      attrs: { slot: "right" },
                      slot: "right",
                    },
                    [
                      _c("i", {
                        staticClass: "icon icon-head-message",
                        class: _vm.userInfo.un_read_msg ? "newMsg" : "",
                        on: {
                          click: function ($event) {
                            _vm.$router.push("/msgCenter");
                          },
                        },
                      }),
                      _vm._v(" "),
                      _c("i", {
                        staticClass: "icon icon-head-add",
                        on: {
                          click: function ($event) {
                            _vm.popupNavShow = true;
                          },
                        },
                      }),
                    ]
                  )
                : _vm._e(),
            ]
          ),
        ],
        1
      ),
      _vm._v(" "),
      // banner
      _vm.indexData.banner
        ? _c(
            "div",
            { staticClass: "page-content" },
            [
              _c(
                "scroll",
                [
                  _c("div", { staticClass: "slideBox" }, [
                    _c(
                      "div",
                      { staticClass: "slide-wrapper" },
                      [
                        _c(
                          "slide",
                          { ref: "slide" },
                          _vm._l(_vm.indexData.banner, function (item, index) {
                            return _c("div", { key: index }, [
                              item.url
                                ? _c(
                                    "a",
                                    {
                                      attrs: {
                                        href: [
                                          item.go_url
                                            ? item.go_url
                                            : "javascript:void(0);",
                                        ],
                                        target: [
                                          item.go_url ? "_blank" : "_self",
                                        ],
                                      },
                                    },
                                    [
                                      _c("img", {
                                        attrs: {
                                          src: _vm.imgRequest + item.url,
                                        },
                                      }),
                                    ]
                                  )
                                : _c(
                                    "a",
                                    {
                                      staticClass: "no-img",
                                      attrs: { href: "javascript:void(0);" },
                                    },
                                    [
                                      _c("img", {
                                        attrs: {
                                          src: require("@/assets/images/common/default-img.png"),
                                        },
                                      }),
                                    ]
                                  ),
                            ]);
                          })
                        ),
                      ],
                      1
                    ),
                  ]),
                  _vm._v(" "),
                  _c(
                    "cell",
                    {
                      directives: [
                        {
                          name: "show",
                          rawName: "v-show",
                          value: _vm.noticeFlag,
                          expression: "noticeFlag",
                        },
                      ],
                      staticClass: "notice bgWhite",
                      attrs: { "value-align": "left" },
                    },
                    [
                      _c("i", {
                        staticClass: "cell-icon cell-icon-notice",
                        attrs: { slot: "icon" },
                        slot: "icon",
                      }),
                      _vm._v(" "),
                      _c(
                        "marquee",
                        _vm._l(_vm.indexData.sysMessage, function (
                          item,
                          index
                        ) {
                          return _c(
                            "marquee-item",
                            { key: index, staticClass: "text-red" },
                            [_vm._v(_vm._s(item))]
                          );
                        })
                      ),
                      _vm._v(" "),
                      _c("i", {
                        staticClass: "cell-icon cell-icon-close",
                        on: {
                          click: function ($event) {
                            _vm.noticeFlag = false;
                          },
                        },
                      }),
                    ],
                    1
                  ),
                  _vm._v(" "),
                  // 签到
                  _c(
                    "flexbox",
                    {
                      staticClass: "entrance-list bgWhite",
                      attrs: { gutter: 0 },
                    },
                    [
                      // 签到有礼
                      _c("flexbox-item", [
                        _c(
                          "div",
                          {
                            staticClass: "flex-demo activeBox",
                            on: {
                              click: _vm.signInSwitch,
                              touchstart: function ($event) {
                                _vm.activeCopy($event);
                              },
                            },
                          },
                          [
                            _vm.indexData.app_config
                              ? _c("i", {
                                  staticClass: "icon ",
                                  style: {
                                    backgroundImage:
                                      "url(" +
                                      _vm.imgRequest +
                                      _vm.indexData.app_config.sign_icon +
                                      ")",
                                  },
                                })
                              : _c("i", {
                                  staticClass: "icon ",
                                  style: {
                                    backgroundImage:
                                      "url(" +
                                      require("../../assets/images/home/home_signin_icon@2x.png") +
                                      ")",
                                  },
                                }),
                            _vm._v(" "),
                            _c("p", {}, [_vm._v("签到有礼")]),
                          ]
                        ),
                      ]),
                      _vm._v(" "),
                      // 有奖任务
                      _c("flexbox-item", [
                        _c(
                          "div",
                          {
                            staticClass: "flex-demo activeBox",
                            on: {
                              click: _vm.taskCenterSwitch,
                              touchstart: function ($event) {
                                _vm.activeCopy($event);
                              },
                            },
                          },
                          [
                            _vm.indexData.app_config
                              ? _c("i", {
                                  staticClass: "icon  ",
                                  style: {
                                    backgroundImage:
                                      "url(" +
                                      _vm.imgRequest +
                                      _vm.indexData.app_config.task_icon +
                                      ")",
                                  },
                                })
                              : _c("i", {
                                  staticClass: "icon  ",
                                  style: {
                                    backgroundImage:
                                      "url(" +
                                      require("../../assets/images/home/home_task_icon@2x.png") +
                                      ")",
                                  },
                                }),
                            _vm._v(" "),
                            _c("p", { staticClass: " " }, [_vm._v("有奖任务")]),
                          ]
                        ),
                      ]),
                      _vm._v(" "),
                      _c("flexbox-item", [
                        _c(
                          "div",
                          {
                            staticClass: "flex-demo activeBox",
                            on: {
                              click: _vm.bettingRecordSwitch,
                              touchstart: function ($event) {
                                _vm.activeCopy($event);
                              },
                            },
                          },
                          [
                            _vm.indexData.app_config
                              ? _c("i", {
                                  staticClass: "icon  ",
                                  style: {
                                    backgroundImage:
                                      "url(" +
                                      _vm.imgRequest +
                                      _vm.indexData.app_config.bet_icon +
                                      ")",
                                  },
                                })
                              : _c("i", {
                                  staticClass: "icon  ",
                                  style: {
                                    backgroundImage:
                                      "url(" +
                                      require("../../assets/images/home/home_record_icon@2x.png") +
                                      ")",
                                  },
                                }),
                            _vm._v(" "),
                            _c("p", { staticClass: " " }, [_vm._v("投注记录")]),
                          ]
                        ),
                      ]),
                      _vm._v(" "),
                      // 立即充值
                      _c("flexbox-item", [
                        _c(
                          "div",
                          {
                            staticClass: "flex-demo activeBox",
                            on: {
                              click: _vm.rechargeSwitch,
                              touchstart: function ($event) {
                                _vm.activeCopy($event);
                              },
                            },
                          },
                          [
                            _vm.indexData.app_config
                              ? _c("i", {
                                  staticClass: "icon  ",
                                  style: {
                                    backgroundImage:
                                      "url(" +
                                      _vm.imgRequest +
                                      _vm.indexData.app_config.recharge_icon +
                                      ")",
                                  },
                                })
                              : _c("i", {
                                  staticClass: "icon  ",
                                  style: {
                                    backgroundImage:
                                      "url(" +
                                      require("../../assets/images/home/home_charge_icon@2x.png") +
                                      ")",
                                  },
                                }),
                            _vm._v(" "),
                            _c("p", { staticClass: " " }, [_vm._v("立即充值")]),
                          ]
                        ),
                      ]),
                      _vm._v(" "),
                      // 客服
                      _c("flexbox-item", [
                        _c(
                          "div",
                          {
                            staticClass: "flex-demo activeBox",
                            // attrs: {
                            //   href: _vm.indexData.kefu_set &&
                            //   _vm.indexData.kefu_set.kefu,
                            // },
                            on: {
                              click: _vm.serverSwitch,
                              touchstart: function ($event) {
                                _vm.activeCopy($event);
                              },
                            },
                          },
                          [
                            _vm.indexData.app_config
                              ? _c("i", {
                                  staticClass: "icon  ",
                                  style: {
                                    backgroundImage:
                                      "url(" +
                                      _vm.imgRequest +
                                      (_vm.indexData.kefu_set &&
                                        _vm.indexData.kefu_set.qq) +
                                      ")",
                                  },
                                })
                              : _c("i", {
                                  staticClass: "icon  ",
                                  style: {
                                    backgroundImage:
                                      "url(" +
                                      require("../../assets/images/home/home_charge_icon@2x.png") +
                                      ")",
                                  },
                                }),
                            _vm._v(" "),
                            _c("p", { staticClass: " " }, [_vm._v("客服")]),
                          ]
                        ),
                      ]),
                    ],
                    1
                  ),
                  _vm._v(" "),

                  renderImgBanner(),
                  // 热门推荐
                  /*_c(
                    "div",
                    { staticClass: "pdlr bgWhite mt" },
                    [
                      _c("h3", { staticClass: "public-title" }, [
                        _c("i", {
                          staticClass: "icon  ",
                          style: {
                            backgroundImage:
                              "url(" +
                              require("../../assets/images/home/home_hot.png") +
                              ")",
                          },
                        }),
                        _vm._v("热门推荐 "),
                        // _c("span", { staticClass: "text-gray" }, [
                        //   _vm._v("平台极力推荐"),
                        // ]),
                      ]),
                      _vm._v(" "),
                      _c(
                        "flexbox",
                        { staticClass: "recommend-game", attrs: { gutter: 0 } },
                        _vm._l(_vm.indexData.recommend_list, function (
                          item,
                          index
                        ) {
                          return index < 4
                            ? _c("flexbox-item", { key: index }, [
                                _c(
                                  "div",
                                  {
                                    staticClass: "flex-demo activeBox",
                                    on: {
                                      touchstart: function ($event) {
                                        _vm.activeCopy($event);
                                      },
                                      click: function ($event) {
                                        _vm.goRoomList(
                                          item.lottery_type,
                                          index
                                        );
                                      },
                                    },
                                  },
                                  [
                                    _c("div", { staticClass: "home-room-kua" }, [
                                      item.h5_pic
                                        ? _c("img", {
                                            attrs: {
                                              src:
                                                _vm.imgRequest + item.h5_pic,
                                            },
                                            on: {
                                              error: function ($event) {
                                                _vm.removeH5pic(index);
                                              },
                                            },
                                          })
                                        : _c("img", {
                                            attrs: {
                                              src: require("@/assets/images/common/default_lotterytype_icon@2x.png"),
                                            },
                                          }),
                                      _vm._v(" "),
                                      _c("h5", [
                                        _vm._v(_vm._s(item.lottery_name)),
                                      ]),
                                      _vm._v(" "),
                                      // _c("p", [
                                      //   _c("i", { staticClass: "clock" }),
                                      //   _vm._v("火热投注中"),
                                      // ]),
                                    ]),
                                  ]
                                ),
                              ])
                            : _vm._e();
                        })
                      ),
                    ],
                    1
                  ),*/
                  _vm._v(" "),
                  _c("div", { staticClass: "pdlr bgWhite mt index_suju" }, [



                    _c("div", { staticClass: "h5-tab-wrap task-wrap" }, [
                      // tab
                      _c(
                        "div",
                        { staticClass: "tab-public tab-fixed" },
                        [
                          _c(
                            "tab",
                            {
                              staticClass: "top-tabNav",
                              attrs: { "line-width": 2 },
                              model: {
                                value: _vm.curIndex,
                                callback: function ($$v) {
                                  _vm.curIndex = $$v;
                                },
                                expression: "curIndex",
                              },
                            },
                            _vm._l(_vm.indexData.lottery_list_test, function (item, curIndex) {
                              // console.log(item)
                              // console.log(curIndex)
                              return _c(
                                "tab-item",
                                { key: curIndex, attrs: { selected: item === curIndex } },
                                [
                                  _c("span", {  
                                    on: { 
                                      click: _vm.clickHeight }
                                  }, [
                                    _vm._v(_vm._s(item.name)),
                                    _c("i")
                                    // _vm.hasFinish(curIndex) ? _c("i") : _vm._e(),
                                  ]),
                                ]
                              );
                            })
                          ),
                        ],
                        1
                      ),
                      _vm._v(" "),
                      // 详细swiper项
                      _c(
                        "div",
                        { staticClass: "swiper-wrap" },
                        [
                          _c(
                            "swiper",
                            {
                              attrs: { "show-dots": false, "direction": 'vertical' },
                              // direction:"up",
                              model: {
                                value: _vm.curIndex,
                                callback: function ($$v) {
                                  _vm.curIndex = $$v;
                                },
                                expression: "curIndex",
                              },
                            },
                            _vm._l(_vm.indexData.lottery_list_test, function (taskListCon, index1) {
                              console.log(taskListCon)
                              console.log(index1)
                              return _c(
                                "swiper-item",
                                { key: index1,
                                  style: {
                                    height:  taskListCon.data.length <= 2 ? '2.2rem' :  parseInt(taskListCon.data.length/2)*2.2 + parseInt(taskListCon.data.length%2)*2.2 +'rem',
                                    display: index1 == _vm.curIndex ? 'block' : 'none',
                                    position: 'relative',
                                  }
                                },
                                [
                                  taskListCon.data.length
                                    ? _c(
                                        "scroll",
                                        {
                                          ref: "scroll",
                                          refInFor: true,
                                          staticClass: "task-scroll",
                                          attrs: { pullDownRefresh: _vm.pullDownRefresh },
                                          // on: { pullingDown: _vm.pullingDown },
                                        },
                                        [
                                          _c(
                                            "ul",
                                            { staticClass: "tab-swiper taskList index_taskList" },
                                            [
                                              index1 == 0 &&
                                              taskListCon.data[0].betting_need_money
                                                ? _c("li", { staticClass: "actRuleCon" }, [
                                                    _c("p", { staticClass: "text-gray" }, [
                                                      _vm._v("读取彩种为空"),
                                                    ]),
                                                  ])
                                                : _vm._l(taskListCon.data, function (
                                                    item,
                                                    index
                                                  ) {
                                                    return _c(
                                                        "a",
                                                        {
                                                          on: {
                                                            click: function ($event) {
                                                              _vm.goRoomList(
                                                                item.lottery_type,
                                                                index
                                                              );
                                                            },
                                                          },
                                                        },
                                                      [
                                                      _c(
                                                          "li",
                                                          [
                                                            _c("img", {
                                                              attrs: {
                                                                src: _vm.imgRequest + "/"+item.pic_url,
                                                                alt: "",
                                                              },
                                                            }),

                                                        _vm._v(" "),
                                                        _c("dd", [
                                                          _c("h5", [_vm._v(_vm._s(item.name))]),
                                                          _vm._v(" "),
                                                          _c(
                                                            "p",
                                                            { staticClass: "money text-red" },
                                                            [
                                                              _vm._v(
                                                                item.lottery_name
                                                              ),
                                                            ]
                                                          ),
                                                          _vm._v(" "),                                                    
                                                        ]),
                                                      ])
                                                    ]);
                                                  }),
                                              _vm._v(" "),
                                            ],
                                            2
                                          ),
                                        ]
                                      )
                                    : [
                                        _c("img", {
                                          staticClass: "noDataImg",
                                          attrs: {
                                            // src: require("../../../assets/images/common/empty.png"),
                                            alt: "读取彩种为空",
                                          },
                                        }),
                                      ],
                                ],
                                2
                              );
                            })
                          ),
                        ],
                        1
                      ),
                    ]),
                    
                    


                  ]),
                  _vm._v(" "),
                  // 真人·棋牌·体育
                  /*_vm.casinoSwitch && _vm.casinoSwitch.status == 1
                    ? _c("div", { staticClass: "pdlr bgWhite mt" }, [
                        _c("h3", { staticClass: "public-title" }, [
                          _vm._v("真人·棋牌·体育"),
                          // _c("span", { staticClass: "text-gray" }, [
                          //   _vm._v("现场荷官 高质量服务"),
                          // ]),
                        ]),
                        _vm._v(" "),
                        _c("div", { staticClass: "lottery-list clearfix" }, [
                          _c(
                            "ul",
                            _vm._l(_vm.casinoList, function (item, index) {
                              return _c(
                                "li",
                                {
                                  key: index,
                                  class:
                                  "short-pic"
                                    // item.pic_type == 2 ? "long-pic" : "short-pic",
                                },
                                [
                                  _c(
                                    "div",
                                    {
                                      class: { "no-img": !item.pic_url },
                                      on: {
                                        touchstart: function ($event) {
                                          _vm.activeCover($event);
                                        },
                                      },
                                    },
                                    [
                                      item.h5_pic
                                        ? _c("img", {
                                            staticClass: "data-img",
                                            attrs: {
                                              src: _vm.imgRequest + item.h5_pic,
                                            },
                                          })
                                        : _c("img", {
                                            staticClass: "default-img",
                                            attrs: {
                                              src: require("@/assets/images/common/default-img.png"),
                                            },
                                          }),
                                      _vm._v(" "),
                                      _c("span", {
                                        staticClass: "imgCover",
                                        on: {
                                          click: function ($event) {
                                            if (
                                              $event.target !==
                                              $event.currentTarget
                                            ) {
                                              return null;
                                            }
                                            _vm.showGameFun(
                                              item.game_flag,
                                              item.game_name,
                                              item.game_plat_id
                                            );
                                          },
                                        },
                                      }),
                                    ]
                                  ),
                                ]
                              );
                            })
                          ),
                        ]),
                      ])
                    : _vm._e(),*/
                  // 平台数据
                  /*_vm._v(" "),
                  _c("div", { staticClass: "pdlr bgWhite mt" }, [
                    _c("h3", { staticClass: "public-title" }, [
                      _vm._v("\n\t\t\t\t\t\t平台数据 \n\t\t\t\t\t\t"),
                      _c("span", { staticClass: "text-gray" }, [
                        _vm._v(
                          "\n\t\t\t\t\t\t\t可靠大平台 用户赚钱率高达\n\t\t\t\t\t\t\t"
                        ),
                        _c(
                          "em",
                          { staticClass: "text-red" },
                          [
                            _c("countup", {
                              staticClass: "earnRate",
                              attrs: {
                                "end-val": _vm.earnRate,
                                duration: 6,
                                start: _vm.CountupDoStart,
                              },
                            }),
                            _vm._v("%"),
                          ],
                          1
                        ),
                      ]),
                    ]),
                    _vm._v(" "),
                    _c("div", { staticClass: "platform-data clearfix" }, [
                      _c("li", [
                        _c("div", [
                          _c("p", [
                            _c("i", { staticClass: "icon usernum" }),
                            _vm._v("累计用户数"),
                          ]),
                          _vm._v(" "),
                          _c(
                            "h5",
                            [
                              _c("countup", {
                                attrs: {
                                  "end-val": _vm.regTotal,
                                  duration: 4,
                                  start: _vm.CountupDoStart,
                                },
                              }),
                            ],
                            1
                          ),
                          _vm._v(" "),
                          _c("img", {
                            staticClass: "background",
                            attrs: {
                              src: require("../../assets/images/home/home_bg3_pic@2x.png"),
                            },
                          }),
                        ]),
                      ]),
                      _vm._v(" "),
                      _c("li", [
                        _c("div", [
                          _c("p", [
                            _c("i", { staticClass: "icon goldenmoney" }),
                            _vm._v("累计已赚元宝"),
                          ]),
                          _vm._v(" "),
                          _c(
                            "h5",
                            [
                              _c("countup", {
                                attrs: {
                                  "end-val": _vm.withdrawTotal,
                                  duration: 4,
                                  start: _vm.CountupDoStart,
                                },
                              }),
                            ],
                            1
                          ),
                          _vm._v(" "),
                          _c("img", {
                            staticClass: "background",
                            attrs: {
                              src: require("../../assets/images/home/home_bg2_pic@2x.png"), 
                            },
                          }),
                        ]),
                      ]),
                    ]),
                  ]),*/
                  // 玩家动态
                  _vm._v(" "),
                  _c("div", { staticClass: "pdlr bgWhite mt" }, [
                    _c("h3", { staticClass: "public-title" }, [
                      _vm._v("玩家动态 "),
                      _c("span", { staticClass: "text-gray" }, [
                        _vm._v("新老玩家动态"),
                      ]),
                    ]),
                    _vm._v(" "),
                    _c("div", { staticClass: "dynamic-wrap" }, [
                      _c("div", { staticClass: "dynamic clearfix" }, [
                        _c("div", { staticClass: "dot-line-wrap" }, [
                          _c("div", { staticClass: "dot-line" }, [_c("span")]),
                          _vm._v(" "),
                          _c("div", { staticClass: "dot-line" }, [_c("span")]),
                          _vm._v(" "),
                          _c("div", { staticClass: "dot-line" }, [_c("span")]),
                          _vm._v(" "),
                          _c("div", { staticClass: "dot-line" }, [_c("span")]),
                          _vm._v(" "),
                          _c("div", { staticClass: "dot-line" }, [_c("span")]),
                        ]),
                        _vm._v(" "),
                        _c("div", { staticClass: "list-wrap" }, [
                          _vm.indexData.bettingList
                            ? _c(
                                "ul",
                                {
                                  ref: "listWrapCon",
                                  class: { anim: _vm.animate == true },
                                },
                                _vm._l(_vm.indexData.bettingList, function (
                                  item,
                                  index
                                ) {
                                  return item.lottery_name !== "世界杯专场"
                                    ? _c(
                                        "li",
                                        { key: index },
                                        [
                                          item.s_type == 1
                                            ? [
                                                _c(
                                                  "span",
                                                  {
                                                    staticClass:
                                                      "text-blue list-name",
                                                  },
                                                  [
                                                    _vm._v(
                                                      _vm._s(item.username)
                                                    ),
                                                  ]
                                                ),
                                                _vm._v(" "),
                                                _c(
                                                  "span",
                                                  {
                                                    staticClass: "list-lottery",
                                                  },
                                                  [
                                                    _vm._v(
                                                      "投注" +
                                                        _vm._s(
                                                          item.lottery_name
                                                        )
                                                    ),
                                                    _c(
                                                      "em",
                                                      {
                                                        staticClass: "text-red",
                                                      },
                                                      [
                                                        _vm._v(
                                                          _vm._s(item.money)
                                                        ),
                                                      ]
                                                    ),
                                                    _vm._v("元宝"),
                                                  ]
                                                ),
                                                _vm._v(" "),
                                                _c(
                                                  "span",
                                                  {
                                                    staticClass:
                                                      "text-gray list-addtime",
                                                  },
                                                  [_vm._v(_vm._s(item.addtime))]
                                                ),
                                              ]
                                            : _vm._e(),
                                          _vm._v(" "),
                                          item.s_type == 2
                                            ? [
                                                _c(
                                                  "span",
                                                  {
                                                    staticClass:
                                                      "text-blue list-name",
                                                  },
                                                  [
                                                    _vm._v(
                                                      _vm._s(item.username)
                                                    ),
                                                  ]
                                                ),
                                                _vm._v(" "),
                                                _c(
                                                  "span",
                                                  {
                                                    staticClass: "list-lottery",
                                                  },
                                                  [
                                                    _vm._v(
                                                      _vm._s(
                                                        item.lottery_name
                                                      ) + "中奖"
                                                    ),
                                                    _c(
                                                      "em",
                                                      {
                                                        staticClass: "text-red",
                                                      },
                                                      [
                                                        _vm._v(
                                                          _vm._s(item.award)
                                                        ),
                                                      ]
                                                    ),
                                                    _vm._v("元宝"),
                                                  ]
                                                ),
                                                _vm._v(" "),
                                                _c(
                                                  "span",
                                                  {
                                                    staticClass:
                                                      "text-gray list-addtime",
                                                  },
                                                  [_vm._v(_vm._s(item.addtime))]
                                                ),
                                              ]
                                            : _vm._e(),
                                          _vm._v(" "),
                                          item.s_type == 3
                                            ? [
                                                _c(
                                                  "span",
                                                  {
                                                    staticClass:
                                                      "text-blue list-name",
                                                  },
                                                  [
                                                    _vm._v(
                                                      _vm._s(item.username)
                                                    ),
                                                  ]
                                                ),
                                                _vm._v(" "),
                                                _c(
                                                  "span",
                                                  {
                                                    staticClass: "list-lottery",
                                                  },
                                                  [
                                                    _vm._v("成功提现"),
                                                    _c(
                                                      "em",
                                                      {
                                                        staticClass: "text-red",
                                                      },
                                                      [
                                                        _vm._v(
                                                          _vm._s(item.money)
                                                        ),
                                                      ]
                                                    ),
                                                    _vm._v("元宝"),
                                                  ]
                                                ),
                                                _vm._v(" "),
                                                _c(
                                                  "span",
                                                  {
                                                    staticClass:
                                                      "text-gray list-addtime",
                                                  },
                                                  [_vm._v(_vm._s(item.addtime))]
                                                ),
                                              ]
                                            : _vm._e(),
                                        ],
                                        2
                                      )
                                    : _vm._e();
                                })
                              )
                            : _vm._e(),
                        ]),
                      ]),
                    ]),
                  ]),
                  _vm._v(" "),
                  _c(
                    "div",
                    { staticClass: "bot-nav" },
                    _vm._l(_vm.listArticle, function (item, index) {
                      return item.name == "关于我们" ||
                        item.name == "防劫持教程" ||
                        item.name == "技术支持"
                        ? _c(
                            "span",
                            { key: index },
                            [
                              _c(
                                "router-link",
                                {
                                  attrs: {
                                    to: {
                                      path: "/article",
                                      query: { type: item.type },
                                    },
                                  },
                                },
                                [_vm._v(_vm._s(item.name))]
                              ),
                            ],
                            1
                          )
                        : _vm._e();
                    })
                  ),
                  _vm._v(" "),
                  _c("divider", { staticClass: "home-divider" }, [
                    _vm._v("亲，我是有底线的"),
                  ]),
                ],
                1
              ),
            ],
            1
          )
        : _vm._e(),
      
      // DONE
      _vm._v(" "),
      _c("div", {
        directives: [
          {
            name: "show",
            rawName: "v-show",
            value:
              _vm.userInfo &&
              _vm.userInfo.username &&
              _vm.redpacketInfo.redpacket_status == 1,
            expression:
              "userInfo && userInfo.username && redpacketInfo.redpacket_status == 1",
          },
        ],
        ref: "moveDrag",
        staticClass: "redPacket-entrance",
        on: {
          click: function ($event) {
            $event.stopPropagation();
            return _vm.RedPop($event);
          },
          mousedown: _vm.dragDown,
          touchstart: _vm.dragDown,
          mousemove: _vm.dragMove,
          touchmove: _vm.dragMove,
          mouseup: _vm.dragEnd,
          touchend: _vm.dragEnd,
        },
      }),
      _vm._v(" "),
      _c(
        "x-dialog",
        {
          staticClass: "red-dialog",
          model: {
            value: _vm.redPacketFlag,
            callback: function ($$v) {
              _vm.redPacketFlag = $$v;
            },
            expression: "redPacketFlag",
          },
        },
        [
          _c("div", { staticClass: "red-wrap red-notOpen" }, [
            _c("span", {
              staticClass: "close-icon",
              on: { click: _vm.redPacketHide },
            }),
            _vm._v(" "),
            _c("div", { staticClass: "red-avartar" }, [
              _vm.redpacketInfo.redpacket_pic
                ? _c("img", {
                    attrs: {
                      src: _vm.imgRequest + _vm.redpacketInfo.redpacket_pic,
                      alt: "",
                    },
                  })
                : _vm._e(),
            ]),
            _vm._v(" "),
            _c("div", { staticClass: "red-slogan" }, [
              _vm._v(_vm._s(_vm.redpacketInfo.redpacket_title)),
            ]),
            _vm._v(" "),
            _c("div", { staticClass: "red-btn" }, [
              _c(
                "a",
                {
                  class: { openAnimation: _vm.redFlag },
                  attrs: { href: "javascript:void(0)" },
                  on: { click: _vm.redOpened },
                },
                [
                  _c("span", { staticClass: "open-btn front" }),
                  _vm._v(" "),
                  _c("span", { staticClass: "open-btn back" }),
                ]
              ),
            ]),
            _vm._v(" "),
            _c("div", { staticClass: "red-copyright" }, [
              _c("i", { staticClass: "jingbi" }),
              _vm._v("本活动最终解释权归本公司所有\n\t\t\t\t"),
            ]),
          ]),
        ]
      ),
      _vm._v(" "),
      // DONE
      _c("transition", { attrs: { name: "popupNav" } }, [
        _vm.popupNavShow
          ? _c(
              "div",
              {
                staticClass: "popupNav-cover",
                on: {
                  click: function ($event) {
                    if ($event.target !== $event.currentTarget) {
                      return null;
                    }
                    _vm.popupNavShow = false;
                  },
                },
              },
              [
                _c(
                  "div",
                  { staticClass: "popupNav-inner" },
                  [
                    this.accountData.is_tourist &&
                    this.accountData.is_tourist != 1
                      ? _c("router-link", { attrs: { to: "/recharge" } }, [
                          _c("img", {
                            attrs: {
                              src: require("../../assets/images/wallet/index_chongzhi_icon@2x.png"),
                              alt: "",
                            },
                          }),
                          _vm._v(" 立即充值"),
                        ])
                      : _vm._e(),
                    _vm._v(" "),
                    this.accountData.is_tourist &&
                    this.accountData.is_tourist != 1
                      ? _c(
                          "router-link",
                          _vm._b(
                            {},
                            "router-link",
                            {
                              to:
                                _vm.accountData.cash_id == 0
                                  ? "/withdraw"
                                  : "/whdProgress",
                            },
                            false
                          ),
                          [
                            _c("img", {
                              attrs: {
                                src: require("../../assets/images/wallet/wallet_tixian_icon@2x.png"),
                                alt: "",
                              },
                            }),
                            _vm._v(" 我要提现"),
                          ]
                        )
                      : _vm._e(),
                    _vm._v(" "),
                    _c("router-link", { attrs: { to: "/rebate" } }, [
                      _c("img", {
                        attrs: {
                          src: require("../../assets/images/personalCenter/index_act1_icon@2x.png"),
                          alt: "",
                        },
                      }),
                      _vm._v(" 天天返利"),
                    ]),
                  ],
                  1
                ),
              ]
            )
          : _vm._e(),
      ]),
      _vm._v(" "),
      _c(
        "x-dialog",
        {
          staticClass: "global-dialog notice-dialog",
          model: {
            value: _vm.noticeFun,
            callback: function ($$v) {
              _vm.noticeFun = $$v;
            },
            expression: "noticeFun",
          },
        },
        [
          _c(
            "div",
            { staticClass: "dialog-content" },
            [
              _c("h1", { staticClass: "dialog-tit" }, [
                _c("i", { staticClass: "notice-icon-con" }),
                _c("br"),
                _vm._v(
                  "\n\t\t\t\t\t" + _vm._s(_vm.noticeData.title) + "\n\t\t\t\t"
                ),
              ]),
              _vm._v(" "),
              _c("div", { staticClass: "dialog-con" }, [
                _vm._v(
                  "\n\t\t\t\t\t" +
                    _vm._s(_vm.noticeData.content) +
                    "\n\t\t\t\t\t"
                ),
              ]),
              _vm._v(" "),
              _c(
                "x-button",
                {
                  staticClass: "weui-btn_radius",
                  attrs: { type: "warn" },
                  nativeOn: {
                    click: function ($event) {
                      _vm.noticeFun = false;
                    },
                  },
                },
                [_vm._v("我知道了")]
              ),
            ],
            1
          ),
        ]
      ),
      _vm._v(" "),
      _c(
        "x-dialog",
        {
          staticClass: "global-dialog signIn-dialog",
          model: {
            value: _vm.signInFlag,
            callback: function ($$v) {
              _vm.signInFlag = $$v;
            },
            expression: "signInFlag",
          },
        },
        [
          _c("div", { staticClass: "dialog-content" }, [
            _c(
              "div",
              {
                on: {
                  click: function ($event) {
                    _vm.signInFlag = false;
                  },
                },
              },
              [_c("span", { staticClass: "vux-close" })]
            ),
            _vm._v(" "),
            _c("h1", { staticClass: "dialog-tit" }),
            _vm._v(" "),
            _c(
              "div",
              { staticClass: "dialog-con signIn" },
              [
                _c(
                  "ul",
                  _vm._l(7, function (item, index) {
                    return _vm.signStatus.data
                      ? _c(
                          "li",
                          {
                            key: index,
                            class: [
                              _vm.getSignObj.signCurrent - (index + 1) >= 0
                                ? "signed"
                                : _vm.signStatus.data.count == index
                                ? "signCur"
                                : "",
                            ],
                            on: {
                              click: function ($event) {
                                _vm.taskSign(index + 1);
                              },
                            },
                          },
                          [
                            _c("span", [
                              _vm._v("第" + _vm._s(index + 1) + "天"),
                            ]),
                            _vm._v(" "),
                            _c("p", { class: [index == 6 ? "gift" : "ingot"] }),
                            _vm._v(" "),
                            _c("span", [
                              _vm._v(
                                _vm._s(
                                  _vm.getSignObj.signCurrent - (index + 1) >= 0
                                    ? "已领取"
                                    : index == 6
                                    ? "神秘礼物"
                                    : _vm.signMoney + " 元宝"
                                )
                              ),
                            ]),
                          ]
                        )
                      : _vm._e();
                  })
                ),
                _vm._v(" "),
                _c(
                  "x-button",
                  {
                    staticClass: "weui-btn_minRadius",
                    attrs: { type: "warn" },
                    nativeOn: {
                      click: function ($event) {
                        _vm.taskSign();
                      },
                    },
                  },
                  [_vm._v("领取奖励")]
                ),
              ],
              1
            ),
          ]),
        ]
      ),
      _vm._v(" "),
      _c(
        "x-dialog",
        {
          staticClass: "global-dialog signInOK-dialog",
          model: {
            value: _vm.signInOKFlag,
            callback: function ($$v) {
              _vm.signInOKFlag = $$v;
            },
            expression: "signInOKFlag",
          },
        },
        [
          _c("p", {
            class: [_vm.getSignObj.signCurrent < 7 ? "ingot" : "gift"],
          }),
          _vm._v(" "),
          _c("span", [
            _vm._v(
              "+ " +
                _vm._s(
                  _vm.getSignObj.signCurrent < 7
                    ? _vm.signMoney
                    : _vm.signMoneyBal
                ) +
                " 元宝"
            ),
          ]),
        ]
      ),
      _vm._v(" "),
      _c(
        "x-dialog",
        {
          staticClass: "global-dialog sign-dialog",
          model: {
            value: _vm.signFun,
            callback: function ($$v) {
              _vm.signFun = $$v;
            },
            expression: "signFun",
          },
        },
        [
          _c(
            "div",
            { staticClass: "dialog-content" },
            [
              _c("h1", { staticClass: "dialog-tit" }, [_vm._v("活动规则说明")]),
              _vm._v(" "),
              _vm.signStatus.data
                ? _c("div", { staticClass: "dialog-con" }, [
                    _c("p", [
                      _vm._v(
                        "完成以下任意任务即可参与平台常规任务和每日签到活动："
                      ),
                    ]),
                    _vm._v(" "),
                    _c("p", { staticClass: "text-gray" }, [
                      _vm._v("1. 当天累计充值达"),
                      _c("span", { staticClass: "text-red" }, [
                        _vm._v(_vm._s(_vm.signStatus.data.recharge_need_money)),
                      ]),
                      _vm._v("元，当前累计充值"),
                      _c("span", { staticClass: "text-red" }, [
                        _vm._v(_vm._s(_vm.signStatus.data.recharge_money)),
                      ]),
                      _vm._v("元，还差"),
                      _c("span", { staticClass: "text-red" }, [
                        _vm._v(
                          _vm._s(
                            _vm.signStatus.data.recharge_need_money -
                              _vm.signStatus.data.recharge_money
                          )
                        ),
                      ]),
                      _vm._v("元"),
                    ]),
                    _vm._v(" "),
                    _c("p", { staticClass: "text-gray" }, [
                      _vm._v("2. 当天累计投注达"),
                      _c("span", { staticClass: "text-red" }, [
                        _vm._v(_vm._s(_vm.signStatus.data.betting_need_money)),
                      ]),
                      _vm._v("元，当前累计投注"),
                      _c("span", { staticClass: "text-red" }, [
                        _vm._v(_vm._s(_vm.signStatus.data.betting_money)),
                      ]),
                      _vm._v("元，还差"),
                      _c("span", { staticClass: "text-red" }, [
                        _vm._v(
                          _vm._s(
                            _vm.signStatus.data.betting_need_money -
                              _vm.signStatus.data.betting_money
                          )
                        ),
                      ]),
                      _vm._v("元"),
                    ]),
                  ])
                : _vm._e(),
              _vm._v(" "),
              _c(
                "x-button",
                {
                  staticClass: "weui-btn_radius",
                  attrs: { type: "warn" },
                  nativeOn: {
                    click: function ($event) {
                      _vm.signFun = false;
                    },
                  },
                },
                [_vm._v("确定")]
              ),
            ],
            1
          ),
        ]
      ),
      _vm._v(" "),
      _c(
        "div",
        { directives: [{ name: "transfer-dom", rawName: "v-transfer-dom" }] },
        [
          _c(
            "confirm",
            {
              attrs: { title: "温馨提示", "confirm-text": "去登录" },
              on: { "on-confirm": _vm.onConfirm },
              model: {
                value: _vm.notLoginFlag,
                callback: function ($$v) {
                  _vm.notLoginFlag = $$v;
                },
                expression: "notLoginFlag",
              },
            },
            [_vm._v("\n\t\t\t\t您还没有登录\n\t\t\t")]
          ),
        ],
        1
      ),
      _vm._v(" "),
      // app下载
      _vm.platformConfig.platform_name && _vm.downloadFlag
        ? _c("div", { staticClass: "download-wrapper" }, [
            _c("div", { staticClass: "download-inner" }, [
              _c("i", {
                staticClass: "close",
                on: {
                  click: function ($event) {
                    _vm.downloadFlag = false;
                  },
                },
              }),
              _vm._v(" "),
              _vm._m(0),
              _vm._v(" "),
              _c("div", { staticClass: "content" }, [
                _c("h1", [_vm._v(_vm._s(_vm.platformConfig.platform_name))]),
                _vm._v(" "),
                _c("p", [_vm._v("幸运是随时陪伴，走到哪玩到哪")]),
              ]),
              _vm._v(" "),
              _c(
                "a",
                {
                  staticClass: "download-btn",
                  attrs: { href: "/?m=web&c=lobby&a=appDownload" },
                },
                [_vm._v("立即下载")]
              ),
            ]),
          ])
        : _vm._e(),
      _vm._v(" "),
      _c("gameBoxDlg", {
        attrs: { showGameBox: _vm.showGameBox, gameDlgData: _vm.gameDlgData },
        on: { changeGameDlg: _vm.changeGameDlg, showGameFun: _vm.showGameFun },
      }),
    ],
    1
  );
};
var staticRenderFns = [
  function () {
    var _vm = this;
    var _h = _vm.$createElement;
    var _c = _vm._self._c || _h;
    return _c("div", { staticClass: "logo" }, [
      _c("img", { attrs: { src: "/up_files/room/avatar.png" } }),
    ]);
  },
];
var esExports = { render: render, staticRenderFns: staticRenderFns };
export default esExports;

//////////////////
// WEBPACK FOOTER
// ./node_modules/_vue-loader@13.7.2@vue-loader/lib/template-compiler?{"id":"data-v-ffe11c5c","hasScoped":true,"transformToRequire":{"video":["src","poster"],"source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/_vux-loader@1.2.9@vux-loader/src/before-template-compiler-loader.js!./node_modules/_vux-loader@1.2.9@vux-loader/src/template-loader.js!./node_modules/_vue-loader@13.7.2@vue-loader/lib/selector.js?type=template&index=0!./src/components/home/home.vue
// module id = null
// module chunks =
